<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter,com.weiyuwqj.admin.controller.common.UeditorUpload"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	response.setHeader("Content-Type" , "text/html");
	
	String rootPath = application.getRealPath( "/" );
	String resp=new ActionEnter( request, rootPath ).exec();

	String action=request.getParameter("action");
	if("uploadimage".equals(action)
			||"uploadfile".equals(action)
			||"uploadvideo".equals(action)
			||"uploadscrawl".equals(action)){
		System.out.print(resp);
		resp=UeditorUpload.handlerUeditor(request,resp);
	}
%>

<%= resp %>